home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-08-20 | 8.2 KB | 156 lines |
- #
- # Makefile for KA9Q TCP/IP package for Atari ST
- # Using GCC
-
- TAR = gnutar
- CC=gcc
- STRIP = gcc-strip
- #
- # Add -DXOBBS to the CFLAGS line of choice if you wish to include the W2XO
- # PBBS code for sysV Unix... and add -DSID2 if you want a separate
- # 'ax25 bbscall' callsign/ssid for the BBS port.
- #
-
- CFLAGS = -O -DATARI_ST -DGNUC -DSCREEN -DSLOWCHECK
-
-
-
- ########################################################################
-
- SRCS = main.c arp.c arpcmd.c arpdump.c ax25.c ax25cmd.c \
- ax25dump.c ax25subr.c ax25user.c ax_mbx.c cmdparse.c bootp.c \
- domain.c displayn.c dirutil.c\
- files.c fingcli.c fingserv.c ftp.c ftpcli.c ftpserv.c icmp.c \
- icmpcmd.c icmpdump.c icmpmsg.c iface.c ip.c ipcmd.c ipdump.c \
- iproute.c kiss.c lapb.c lapbtime.c lcsum.c mbuf.c misc.c mulport.c \
- myopen.c \
- netuser.c nrcmd.c nrs.c nr3.c nrsubr.c nr4.c nr4subr.c \
- nr4user.c nr4timer.c pathname.c rdate.c session.c slfp.c \
- slhc.c slip.c smisc.c \
- smtpcli.c smtpserv.c st.c tcpcmd.c tcpdump.c \
- tcpin.c tcpout.c tcpsubr.c tcptimer.c tcpuser.c telnet.c \
- timer.c tnserv.c trace.c ttydriv.c udp.c udpcmd.c \
- udpdump.c version.c wildmat.c xfree.c
-
-
-
- OBJS = main.o arp.o arpcmd.o arpdump.o ax25.o ax25cmd.o \
- ax25dump.o ax25subr.o ax25user.o ax_mbx.o cmdparse.o bootp.o \
- domain.o displayn.o dirutil.o\
- files.o fingcli.o fingserv.o ftp.o ftpcli.o ftpserv.o icmp.o \
- icmpcmd.o icmpdump.o icmpmsg.o iface.o ip.o ipcmd.o ipdump.o \
- iproute.o kiss.o lapb.o lapbtime.o lcsum.o mbuf.o misc.o mulport.o \
- myopen.o \
- netuser.o nrcmd.o nrs.o nr3.o nrsubr.o nr4.o nr4subr.o \
- nr4user.o nr4timer.o pathname.o rdate.o session.o slfp.o \
- slhc.o slip.o smisc.o \
- smtpcli.o smtpserv.o st.o tcpcmd.o tcpdump.o \
- tcpin.o tcpout.o tcpsubr.o tcptimer.o tcpuser.o telnet.o \
- timer.o tnserv.o trace.o ttydriv.o udp.o udpcmd.o \
- udpdump.o version.o wildmat.o xfree.c
-
- net: $(OBJS)
- $(CC) $(CFLAGS) -o net.debug $(OBJS) $(LIBS)
- cp net.debug net
- $(STRIP) net
-
- lint: $(SRCS)
- rm -f *.ln
- $(LINT) -c $(LINTFLAGS) $(SRCS) > lint.out 2>&1
- $(LINT) $(LINTFLAGS) *.ln > lint2.out 2>&1
- rm *.ln
-
- # make depend won't work on the ST ? Use unix
- depend:
- ( for i in $(SRCS) ; do makelist -r $$i ; done) > depend.st
-
- test_tick: test_tick.c
- $(CC) -o test_tick test_tick.c $(LIBS)
-
- clean:
- rm -f *.o *.ln lint.out lint2.out net net.debug test_tick
- tar:
- $(TAR) cvf svnet.tar make* mkdep depend.out hosts.net ftpusers \
- startup.net *.[hc] *.orig *.ori
- compress -f svnet.tar
-
-
-
- # need to make depend.out for the st
- #.include depend.out
- main.o: main.c config.h global.h mbuf.h netuser.h timer.h icmp.h iface.h ip.h tcp.h ax25.h netrom.h ftp.h telnet.h remote.h session.h cmdparse.h asy.h slip.h nrs.h slfp.h unix.h amiga.h mac.h st.h trace.h
- arp.o: arp.c global.h mbuf.h timer.h iface.h enet.h ax25.h arp.h
- arpcmd.o: arpcmd.c global.h mbuf.h timer.h enet.h ax25.h arp.h cmdparse.h
- arpdump.o: arpdump.c global.h mbuf.h timer.h arp.h ax25.h
- ax25.o: ax25.c config.h global.h mbuf.h iface.h timer.h arp.h slip.h ax25.h lapb.h heard.h
- ax25cmd.o: ax25cmd.c global.h config.h mbuf.h ax25.h ax_mbx.h timer.h netuser.h ftp.h tcp.h telnet.h iface.h lapb.h finger.h cmdparse.h session.h nr4.h heard.h
- ax25dump.o: ax25dump.c global.h mbuf.h ax25.h timer.h lapb.h trace.h
- ax25subr.o: ax25subr.c global.h mbuf.h timer.h ax25.h lapb.h netuser.h ftp.h telnet.h iface.h finger.h
- ax25user.o: ax25user.c global.h mbuf.h timer.h iface.h ax25.h lapb.h
- ax_mbx.o: ax_mbx.c global.h config.h mbuf.h ax25.h timer.h lapb.h cmdparse.h iface.h netrom.h nr4.h ax_mbx.h
- cmdparse.o: cmdparse.c global.h cmdparse.h
- bootp.o: bootp.c global.h mbuf.h netuser.h timer.h udp.h iface.h ip.h internet.h cmdparse.h bootp.h
- domain.o: domain.c global.h mbuf.h netuser.h timer.h udp.h cmdparse.h domain.h
- displayn.o: displayn.c global.h config.h
- dirutil.o: dirutil.c global.h
- files.o: files.c global.h config.h
- fingcli.o: fingcli.c config.h global.h mbuf.h timer.h internet.h icmp.h netuser.h tcp.h ftp.h telnet.h iface.h ax25.h lapb.h finger.h session.h nr4.h
- fingserv.o: fingserv.c global.h config.h mbuf.h timer.h internet.h icmp.h netuser.h tcp.h ftp.h telnet.h iface.h ax25.h lapb.h finger.h session.h nr4.h
- ftp.o: ftp.c global.h config.h mbuf.h netuser.h timer.h tcp.h ftp.h telnet.h iface.h ax25.h lapb.h finger.h session.h nr4.h
- ftpcli.o: ftpcli.c fcntl.h global.h config.h mbuf.h netuser.h icmp.h timer.h tcp.h ftp.h session.h cmdparse.h telnet.h iface.h ax25.h lapb.h finger.h nr4.h
- ftpserv.o: ftpserv.c global.h config.h mbuf.h netuser.h timer.h tcp.h ftp.h telnet.h iface.h ax25.h lapb.h finger.h session.h nr4.h unix.h
- icmp.o: icmp.c global.h mbuf.h internet.h timer.h iface.h ip.h icmp.h
- icmpcmd.o: icmpcmd.c global.h icmp.h mbuf.h netuser.h internet.h timer.h ping.h
- icmpdump.o: icmpdump.c global.h mbuf.h internet.h icmp.h trace.h
- icmpmsg.o: icmpmsg.c global.h
- iface.o: iface.c global.h iface.h
- ip.o: ip.c global.h mbuf.h timer.h internet.h iface.h ip.h icmp.h
- ipcmd.o: ipcmd.c global.h mbuf.h internet.h timer.h netuser.h iface.h ip.h cmdparse.h
- ipdump.o: ipdump.c global.h mbuf.h internet.h timer.h iface.h ip.h trace.h netuser.h
- iproute.o: iproute.c global.h mbuf.h internet.h timer.h netuser.h ip.h icmp.h iface.h trace.h
- kiss.o: kiss.c global.h mbuf.h iface.h kiss.h trace.h
- lapb.o: lapb.c global.h mbuf.h timer.h ax25.h lapb.h iface.h
- lapbtime.o: lapbtime.c global.h config.h mbuf.h ax25.h timer.h netuser.h session.h ftp.h telnet.h iface.h finger.h lapb.h
- lcsum.o: lcsum.c global.h
- mbuf.o: mbuf.c global.h mbuf.h
- misc.o: misc.c global.h
- mulport.o: mulport.c config.h global.h mbuf.h iface.h ax25.h
- myopen.o: myopen.c
- netuser.o: netuser.c unix.h global.h netuser.h
- nrcmd.o: nrcmd.c global.h config.h mbuf.h ax25.h timer.h iface.h lapb.h netrom.h nr4.h netuser.h tcp.h ftp.h telnet.h finger.h ax_mbx.h cmdparse.h session.h
- nrs.o: nrs.c global.h mbuf.h iface.h ax25.h nrs.h asy.h trace.h
- nr3.o: nr3.c global.h mbuf.h iface.h timer.h arp.h slip.h ax25.h netrom.h nr4.h lapb.h
- nrsubr.o: nrsubr.c global.h mbuf.h timer.h ax25.h netrom.h lapb.h
- nr4.o: nr4.c global.h mbuf.h timer.h ax25.h lapb.h netrom.h nr4.h
- nr4subr.o: nr4subr.c global.h mbuf.h timer.h ax25.h netrom.h nr4.h lapb.h
- nr4user.o: nr4user.c global.h mbuf.h timer.h ax25.h lapb.h netrom.h nr4.h
- nr4timer.o: nr4timer.c global.h mbuf.h timer.h ax25.h lapb.h netrom.h nr4.h
- pathname.o: pathname.c global.h
- rdate.o: rdate.c global.h mbuf.h netuser.h timer.h udp.h iface.h ip.h internet.h cmdparse.h
- session.o: session.c global.h config.h mbuf.h netuser.h timer.h tcp.h ax25.h lapb.h iface.h ftp.h telnet.h finger.h netrom.h nr4.h session.h cmdparse.h
- slfp.o: slfp.c config.h global.h mbuf.h iface.h timer.h ip.h slfp.h unix.h asy.h 8250.h trace.h
- slhc.o: slhc.c global.h mbuf.h timer.h internet.h netuser.h ip.h tcp.h slhc.h
- slip.o: slip.c config.h global.h mbuf.h netuser.h timer.h iface.h ax25.h ip.h tcp.h slhc.h slip.h asy.h trace.h
- smisc.o: smisc.c global.h mbuf.h netuser.h timer.h tcp.h remote.h
- smtpcli.o: smtpcli.c global.h netuser.h mbuf.h timer.h tcp.h smtp.h trace.h cmdparse.h
- smtpserv.o: smtpserv.c global.h mbuf.h netuser.h timer.h tcp.h smtp.h
- st.o: st.c global.h config.h mbuf.h internet.h iface.h st.h cmdparse.h asy.h dos.h osbind.h
- tcpcmd.o: tcpcmd.c global.h timer.h mbuf.h netuser.h internet.h tcp.h cmdparse.h
- tcpdump.o: tcpdump.c global.h mbuf.h netuser.h internet.h timer.h tcp.h trace.h
- tcpin.o: tcpin.c global.h timer.h mbuf.h netuser.h internet.h tcp.h icmp.h iface.h ip.h
- tcpout.o: tcpout.c global.h timer.h mbuf.h netuser.h internet.h tcp.h
- tcpsubr.o: tcpsubr.c global.h timer.h mbuf.h netuser.h internet.h tcp.h
- tcptimer.o: tcptimer.c global.h mbuf.h timer.h netuser.h internet.h tcp.h
- tcpuser.o: tcpuser.c global.h timer.h mbuf.h netuser.h internet.h tcp.h
- telnet.o: telnet.c config.h global.h mbuf.h timer.h icmp.h netuser.h tcp.h telnet.h session.h ftp.h iface.h ax25.h lapb.h finger.h nr4.h
- timer.o: timer.c global.h timer.h
- tnserv.o: tnserv.c global.h config.h mbuf.h timer.h icmp.h netuser.h tcp.h telnet.h session.h ftp.h iface.h ax25.h lapb.h finger.h nr4.h
- trace.o: trace.c global.h config.h mbuf.h iface.h trace.h session.h
- ttydriv.o: ttydriv.c config.h global.h session.h
- udp.o: udp.c global.h mbuf.h netuser.h udp.h internet.h
- udpcmd.o: udpcmd.c global.h mbuf.h netuser.h udp.h internet.h cmdparse.h
- udpdump.o: udpdump.c global.h mbuf.h netuser.h internet.h udp.h
- version.o: version.c
- wildmat.o: wildmat.c
- xfree.o: xfree.c
-